import { Platform } from 'react-native'

// const mainServer = 'http://6s.net579.com:13983/';
// const appServer = 'http://cloud.satlic.com:9083/api/'; //测试
// const imgServer = 'http://cloud.satlic.com:9083/';     //测试

// const appServer = 'http://121.40.97.196:9084/api/'; //测试
// const imgServer = 'http://121.40.97.196:9084/';     //测试

// const appServer = 'http://111.20.96.94:8910/'; //汉阴正式
// const appServer = 'http://111.20.96.94:8937/'; //汉阴测试
// const appServer = 'http://111.20.96.94:8937/'; //沣东测试
// const appServer = 'http://124.115.230.186:8910/'; //沣东正式
// const appServer = 'http://111.20.96.94:8937/'; //延长测试
const appServer = 'http://113.200.240.254:8922/'; //延长正式
// const appServer = 'http://www.skj.nat300.top/'; //测试
// const appServer = 'http://www.mansion.nat300.top/'; //测试
const imgServer = 'http://121.40.97.196:9083/'; //测试
// const mapServer = 'https://fengdong.cslp.online:8915/location1.html'
// const mapServer = 'https://fengdong.cslp.online:8915/location2.html'
const mapServer = 'https://fengdong.cslp.online:8915/location3.html'

export default {
    appServer: appServer,
    imgServer: imgServer,
    mapServer: mapServer,
    appId: (Platform.OS === 'ios' ? 'YZG_iOS' : 'YZG_Android'),
    salt: '3evgbh4nuQiaepq0j2mVB9p5NxsTscdY',

    getUserInfo: appServer + 'blade-user/self-info',  //获取用户信息
    login: appServer + 'blade-auth/oauth/token',  //登录
    updatePassword: appServer + 'blade-user/update-password', //修改密码
    dictionary: appServer + 'blade-system/dict-biz/dictionary',//字典接口
    acceptanceComonWord: appServer + 'blade-system/acceptanceComonWord/wordList',//常用语

    selectCategory: appServer + 'blade-system/event/selectCategory',//问题上报类型
    selectOneCategory: appServer + 'blade-system/event/selectOneCategory',//问题上报大类
    selectTwoCategory: appServer + 'blade-system/event/selectTwoCategory',//问题上报小类

    selectLawCategory: appServer + 'blade-system/eventlaws/list',//法律文书

    wtsbReportDraft: appServer + 'blade-desk/process/acceptance/app/reportDraft',//问题上报-保存草稿
    wtsbReport: appServer + 'blade-desk/process/acceptance/app/report',//问题上报-上报
    wtsbUnReportList: appServer + 'blade-desk/process/acceptance/app/unReportList',//问题上报-未保存列表
    wtsbReportList: appServer + 'blade-desk/process/acceptance/app/reportList',//问题上报-列表
    uploadReportAudio: appServer + 'blade-desk/upload/uploadReportAudio',//问题上报-上传录音

    kssbReport: appServer + 'blade-desk/process/acceptance/app/quickReport',//快速上报-上报
    kssbReportDraft: appServer + 'blade-desk/process/acceptance/app/quickReportDraft',//快速上报-草稿
    kssbUnReportList: appServer + 'blade-desk/process/acceptance/app/unQuickReportList',//快速上报-未保存列表
    kssbReportList: appServer + 'blade-desk/process/acceptance/app/quickReportList',//快速上报-列表

    lddbNeedList: appServer + 'blade-desk/process/acceptance/app/du-ban-list',//领导督办待督办列表
    lddbAlerdyList: appServer + 'blade-desk/process/acceptance/app/yi-du-ban-list',//领导督办已督办列表
    lddbHandle: appServer + 'blade-desk/process/acceptance/app/act-db',//领导督办提交

    ajclNeedList: appServer + 'blade-desk/process/acceptance/app/chu-li-list',//案件处理待处理列表
    ajclAlerdyList: appServer + 'blade-desk/process/acceptance/app/yi-chu-li-list',//案件处理已处理列表
    ajclHandle: appServer + 'blade-desk/process/acceptance/app/act-cl',//案件处理提交
    uploadProcessAudio: appServer + 'blade-desk/upload/uploadProcessAudio',//案件处理-上传录音

    ajzpNeedList: appServer + 'blade-desk/process/acceptance/app/chu-li-zhi-pai-list',//案件指派待处理列表
    ajzpAlerdyList: appServer + 'blade-desk/process/acceptance/app/yi-chu-li-zhi-pai-list',//案件指派已处理列表
    ajzpHandle: appServer + 'blade-desk/process/acceptance/app/act-clzp',//案件指派提交
    getAjzpUserList: appServer + 'blade-user/law-enforcor-user-list-in-team',//案件指派人员列表

    ajtuihuiApply: appServer + 'blade-desk/process/acceptance/app/act-backApply',//案件指派-案件退回
    ajchehuiApply: appServer + 'blade-desk/process/acceptance/app/return-to-clzp',//案件指派-案件撤回
    ajhtshApply: appServer + 'blade-desk/process/acceptance/app/act-auditBackFromLawenforcer',//案件指派-案件退回审核

    xchcNeedList: appServer + 'blade-desk/process/acceptance/app/he-cha-list',//案件核查待处理列表
    xchcAlerdyList: appServer + 'blade-desk/process/acceptance/app/yi-he-cha-list',//案件核查已处理列表
    xchcHandle: appServer + 'blade-desk/process/acceptance/app/act-hc',//案件核查提交
    uploadInspectAudio: appServer + 'blade-desk/upload/uploadInspectAudio',//案件核查-上传录音

    xchsNeedList: appServer + 'blade-desk/process/acceptance/app/he-shi-list',//案件核实待处理列表
    xchsAlerdyList: appServer + 'blade-desk/process/acceptance/app/yi-he-shi-list',//案件核实已处理列表
    xchsHandle: appServer + 'blade-desk/process/acceptance/app/act-hs',//案件核实提交
    uploadVerifyAudio: appServer + 'blade-desk/upload/uploadVerifyAudio',//案件核实-上传录音

    caseDetail: appServer + 'blade-desk/process/acceptance/app/detail',//案件详情通用
    caseFlow: appServer + 'blade-flow/process/history-flow-list',//案件流程通用

    contacts: appServer + 'blade-user/contacts',//通讯录接口

    todoCounts: appServer + 'blade-desk/process/acceptance/app/todo-counts', //待办数量接口

    uploadReportImg: appServer + 'blade-desk/upload/uploadReportImg', //问题上报-上传图片
    uploadInspectImg: appServer + 'blade-desk/upload/uploadInspectImg', //问题核实-上传图片
    uploadHcImg: appServer + 'blade-desk/upload/uploadHcImg', //问题核查-上传图片
    uploadProcessImg: appServer + 'blade-desk/upload/uploadProcessImg', //案件处理-上传图片
    uploadDelayFile: appServer + 'blade-desk/upload/uploadDelayFile', //案件处理-上传延期图片
    uploadPauseFile: appServer + 'blade-desk/upload/uploadPauseFile', //案件处理-上传缓办图片

    searchCase: appServer + 'blade-desk/process/acceptance/app/comprehensive-search-list', //案件编号搜索

    unReadMsgList: appServer + 'blade-desk/notice/unReadList',  //未读消息
    readMsgList: appServer + 'blade-desk/notice/readList',     //已读消息
    msgDetail: appServer + 'blade-desk/notice/detail',         //消息详情

    getMidTeamList: appServer + 'blade-system/dept/middle-team-list',   //中队列表
    getAjzpUserMidList: appServer + 'blade-user/law-enforcor-user-list-in-middle-team',//获取中队下的人员列表

    getBigTeamUserList: appServer + 'blade-user/law-enforcor-collaborators-list-in-team',//获取大队下的人员列表

    saveUserClock: appServer + 'blade-desk/marker/save',//地图打卡
    uploadHouseImg: appServer + 'blade-desk/upload/uploadHouseImg',//上传房屋照片
    saveHouseInfo: appServer + 'blade-desk/housemanage/save',//保存房屋信息

    fwcjReportList: appServer + 'blade-desk/housemanage/list',//房屋采集分页
    fwcjQueryIdNumber: appServer + 'blade-desk/housemanage/listByIdNumber',//房屋采集分页

    lwpcReportList: appServer + 'blade-desk/housecollection/list',//延长房屋采集列表接口
    lwpcReportAdd: appServer + 'blade-desk/housecollection/submit',//延长房屋采集新建
    lwpcReportSubList: appServer + 'blade-desk/housecollectiontype/list',//延长房屋采集子新建
    lwpcReportSubAdd: appServer + 'blade-desk/housecollectiontype/submit',//延长房屋采集子列表

}
